﻿using System.Data.Linq.Mapping;
using System.Web.Mvc;

namespace Maverick.Domain.Entities
{
    [Table(Name = "Categories")]
    public class Category
    {
        [HiddenInput(DisplayValue = false)]
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public int CategoryID { get; set; }
        [Column] public string Name { get; set; }
    }
}
